package com.bird.thread.base.creatthread;

/**
 * @author: bird
 * @Data: 2021/6/25 13:41
 * @description: 使用runnable的方式实现线程
 */
public class RunnableStyle implements Runnable {

    @Override
    public void run() {
        System.out.println("使用runnable-方式实现线程");
    }

    public static void main(String[] args) {
        RunnableStyle runnableStyle=new RunnableStyle();
          new Thread(runnableStyle).start();
    }

}
